package oo.day04;
//向上造型的演示
public class UploadDemo {
    public static void main(String[] args) {
        Aoo o1 = new Boo();
        o1.a= 0;
        o1.show();
        //o1.b;
        //o1.test();

        Aoo o2 = new Aoo();
        o2.show();
        o2.a=1;

        Boo o3 = new Boo();
        o3.b=1;
        o3.test();



    }
}
